using Common;
using MongoDB.Bson;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AnesSystem.Models
{
    public class VitalSignCacheModel : ObservableObject
    {
        private ObjectId _id;
        private string _roomNo;
        private string _code;
        private string _name;
        private string _simpleName;
        private string _initValue;
        private string _modValue;
        private int _dataType;
        private int _scale;
        private string _unitName;
        private DateTime _captureTime;

        public string roomNo
        {
            get
            {
                return _roomNo;
            }

            set
            {
                _roomNo = value;
                RaisePropertyChanged("roomNo");
            }
        }
        public string code
        {
            get
            {
                return _code;
            }

            set
            {
                _code = value;
                RaisePropertyChanged("code");
            }
        }
        public string name
        {
            get
            {
                return _name;
            }

            set
            {
                _name = value;
                RaisePropertyChanged("name");
            }
        }
        public string simpleName
        {
            get
            {
                return _simpleName;
            }

            set
            {
                _simpleName = value;
                RaisePropertyChanged("simpleName");
            }
        }
        public string initValue
        {
            get
            {
                return _initValue;
            }

            set
            {
                _initValue = value;
                RaisePropertyChanged("initValue");
            }
        }
        public string modValue
        {
            get
            {
                return _modValue;
            }

            set
            {
                _modValue = value;
                RaisePropertyChanged("modValue");
            }
        }
        public int dataType
        {
            get
            {
                return _dataType;
            }

            set
            {
                _dataType = value;
                RaisePropertyChanged("dataType");
            }
        }
        public int scale
        {
            get
            {
                return _scale;
            }

            set
            {
                _scale = value;
                RaisePropertyChanged("scale");
            }
        }
        public string unitName
        {
            get
            {
                return _unitName;
            }

            set
            {
                _unitName = value;
                RaisePropertyChanged("unitName");
            }
        }
        public DateTime captureTime
        {
            get
            {
                return _captureTime;
            }

            set
            {
                _captureTime = value;
                RaisePropertyChanged("captureTime");
            }
        }

        public ObjectId Id
        {
            get
            {
                return _id;
            }

            set
            {
                _id = value;
            }
        }
    }
}